<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@taglib prefix="s" uri="/struts-tags"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
	response.setCharacterEncoding("UTF-8");
	response.setContentType("text/xml");
	response.setHeader("Cache-Control","no-cache"); 
	response.setHeader("Pragma","no-cache"); 
%>
<menu>
	<!-- 状态为：0且为自己提交申请的可以编辑和删除 -->
	<s:if test="objctForm.entryUser==#session.user.userId && objctForm.state==0">
		<item id="a" text="编辑"  action='showDialog("鼎烜集团  网络办公自动化系统","<%=basePath %>carriageEntry/carriageEntryAction!gotoEdit.action?id=<s:property value='id' />","500","250");'/>
		<item id="a" text="删除"  action='showDialog("鼎烜集团  网络办公自动化系统","<%=basePath %>carriageEntry/carriageEntryAction!gotoDel.action?id=<s:property value='id' />","320","150");'/>
	</s:if>
	<!-- 状态为：0且需要自己审批 -->
	<s:if test="objctForm.checkUesr==#session.user.userId && objctForm.state==0">
		<item id="a" text="批准"  action='showDialog("鼎烜集团  网络办公自动化系统","<%=basePath %>carriageEntry/carriageEntryAction!gotoCheck.action?id=<s:property value='id' />","500","250");'/>
	</s:if>
</menu>
